package com.logwire.dto.query;import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;import io.swagger.v3.oas.annotations.media.Schema;import lombok.Data;@Datapublic class BasePermissionQuery extends BaseQuery {	@Schema(description = "父级id")	private Long parentId = 0L;	@Override	public String getOrderColumn() {		return "order_num";	}	@Override	public boolean isAsc() {		return true;	}	@Override	public QueryWrapper getWhere() {		final QueryWrapper<Object> objectQueryWrapper = new QueryWrapper<>();		objectQueryWrapper.eq("parent_id", parentId);		return objectQueryWrapper;	}}